Determines whether the user has the necessary permission to perform a specified action against the server.
HRESULT CanPerform(SecurityActionsEnum action, [out,retval] VARIANT_BOOL * canPerform);
CanPerform(SecurityActionsEnum action, [out,retval] VARIANT_BOOL canPerform);
Sub CanPerform(action As SecurityActionsEnum, canPerform As [out,retval] VARIANT_BOOL)
Parameters |
Description |
[in] SecurityActionsEnum action |
The action being queried. |
[out,retval] VARIANT_BOOL * canPerform |
The return value. |
True if the caller has permission to perform the specified action; False otherwise.
This method checks security at the server level (for things like ability to connect to the server). To check permissions for an individual object, use IADTObject.CanPerform.
See the ServerSecurityDescriptor topic for a list of security actions that apply to the Scheduler.
adTempus API Reference version 3.0.0.0, revised 10/30/2008
|